//列表页布局样式
.layout-container{
  height: 100%;
  background: #ffffff;
  .layout-header{
    padding: 16px 16px 0;
    height: fit-content;
    .title-wrap{
      border-radius: 4px;
      overflow: hidden;
      width: fit-content;
      border: 1px solid #EDEDED;
      margin: 0 auto;
      & > table{
        border-collapse:collapse;
      }
      .title-item{
        font-size: 14px;
        max-width: 30%;
        height: 28px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 28px;
        padding: 0 14px;
        text-align: center;
        border-left: 1px solid #EDEDED;
        background: #ffffff;
        color: #333333;
        cursor: pointer;
        &:first-of-type{
          border-left-color: transparent;
        }

        &.active{
          background: #2d6ff7;
          color: #ffffff;
          border: none;
          cursor: default;
        }
      }
    }
    .btns-wrap{
      display: flex;
      justify-content: space-between;
      height: fit-content;
      align-items: flex-end;

      .h-right{
        flex-shrink: 0;
      }
    }
  }
  .layout-main{
    height: 0;
    display: flex;
    flex-direction: column;
    padding: 16px 16px 0;
    .condition-wrap{
      margin-bottom: 16px;
    }
    .table-wrap{
      flex: 1;
      height: 0;
      overflow: auto;
      .sort-header{
        cursor: pointer;
        .caret-wrapper{
          display: inline-flex;
          flex-direction: column;
          align-items: center;
          height: 14px;
          width: 24px;
          vertical-align: middle;
          cursor: pointer;
          overflow: initial;
          position: relative;
          .sort-caret{
            width: 0;
            height: 0;
            border: solid 5px transparent;
            position: absolute;
            left: 7px;
            &.ascending{
              border-bottom-color: #a8abb2;
              top: -5px;
            }
            &.descending{
              border-top-color: #a8abb2;
              bottom: -3px;
            }
          }

          &.ascending{
            .sort-caret{
              &.ascending{
                border-bottom-color: #409eff;
              }
            }
          }
          &.descending{
            .sort-caret{
              &.descending{
                border-top-color: #409eff;
              }
            }
          }
        }
      }
    }
  }
  .layout-footer{
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px 14px;
    .total-wrap{
      display: flex;
      align-items: center;
      font-size: 13px;
      .total-item{
        margin-right: 10px;
        font-size: 13px;
        .item-label{
          color: #999999;
          margin-right: 4px;
        }
        .item-value{
          color: @main-color;
        }
      }
    }
    .page-wrap{
      display: flex;
      justify-content: space-between;
      align-items: center;

    }
  }
}
